CryptoPro XMLDsig API.
Public API.

ru.CryptoPro.JCPxml.dsig.internal.dom
Class DOMKeyInfoFactory

java.lang.Object
  extended by javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
      extended by ru.CryptoPro.JCPxml.dsig.internal.dom.DOMKeyInfoFactory

public final class DOMKeyInfoFactory
extends javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

DOM-based implementation of KeyInfoFactory.


Constructor Summary
DOMKeyInfoFactory()
           
 
Method Summary
 javax.xml.crypto.URIDereferencer getURIDereferencer()
           
 boolean isFeatureSupported(java.lang.String feature)
           
 javax.xml.crypto.dsig.keyinfo.KeyInfo newKeyInfo(java.util.List content)
           
 javax.xml.crypto.dsig.keyinfo.KeyInfo newKeyInfo(java.util.List content, java.lang.String id)
           
 javax.xml.crypto.dsig.keyinfo.KeyName newKeyName(java.lang.String name)
           
 javax.xml.crypto.dsig.keyinfo.KeyValue newKeyValue(java.security.PublicKey key)
           
 javax.xml.crypto.dsig.keyinfo.PGPData newPGPData(byte[] keyId)
           
 javax.xml.crypto.dsig.keyinfo.PGPData newPGPData(byte[] keyId, byte[] keyPacket, java.util.List other)
           
 javax.xml.crypto.dsig.keyinfo.PGPData newPGPData(byte[] keyPacket, java.util.List other)
           
 javax.xml.crypto.dsig.keyinfo.RetrievalMethod newRetrievalMethod(java.lang.String uri)
           
 javax.xml.crypto.dsig.keyinfo.RetrievalMethod newRetrievalMethod(java.lang.String uri, java.lang.String type, java.util.List transforms)
           
 javax.xml.crypto.dsig.keyinfo.X509Data newX509Data(java.util.List content)
           
 javax.xml.crypto.dsig.keyinfo.X509IssuerSerial newX509IssuerSerial(java.lang.String issuerName, java.math.BigInteger serialNumber)
           
 javax.xml.crypto.dsig.keyinfo.KeyInfo unmarshalKeyInfo(javax.xml.crypto.XMLStructure xmlStructure)
           
 
Methods inherited from class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
getInstance, getInstance, getInstance, getInstance, getMechanismType, getProvider
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMKeyInfoFactory

public DOMKeyInfoFactory()
Method Detail

newKeyInfo

public javax.xml.crypto.dsig.keyinfo.KeyInfo newKeyInfo(java.util.List content)
Specified by:
newKeyInfo in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

newKeyInfo

public javax.xml.crypto.dsig.keyinfo.KeyInfo newKeyInfo(java.util.List content,
                                                        java.lang.String id)
Specified by:
newKeyInfo in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

newKeyName

public javax.xml.crypto.dsig.keyinfo.KeyName newKeyName(java.lang.String name)
Specified by:
newKeyName in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

newKeyValue

public javax.xml.crypto.dsig.keyinfo.KeyValue newKeyValue(java.security.PublicKey key)
                                                   throws java.security.KeyException
Specified by:
newKeyValue in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
Throws:
java.security.KeyException

newPGPData

public javax.xml.crypto.dsig.keyinfo.PGPData newPGPData(byte[] keyId)
Specified by:
newPGPData in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

newPGPData

public javax.xml.crypto.dsig.keyinfo.PGPData newPGPData(byte[] keyId,
                                                        byte[] keyPacket,
                                                        java.util.List other)
Specified by:
newPGPData in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

newPGPData

public javax.xml.crypto.dsig.keyinfo.PGPData newPGPData(byte[] keyPacket,
                                                        java.util.List other)
Specified by:
newPGPData in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

newRetrievalMethod

public javax.xml.crypto.dsig.keyinfo.RetrievalMethod newRetrievalMethod(java.lang.String uri)
Specified by:
newRetrievalMethod in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

newRetrievalMethod

public javax.xml.crypto.dsig.keyinfo.RetrievalMethod newRetrievalMethod(java.lang.String uri,
                                                                        java.lang.String type,
                                                                        java.util.List transforms)
Specified by:
newRetrievalMethod in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

newX509Data

public javax.xml.crypto.dsig.keyinfo.X509Data newX509Data(java.util.List content)
Specified by:
newX509Data in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

newX509IssuerSerial

public javax.xml.crypto.dsig.keyinfo.X509IssuerSerial newX509IssuerSerial(java.lang.String issuerName,
                                                                          java.math.BigInteger serialNumber)
Specified by:
newX509IssuerSerial in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

isFeatureSupported

public boolean isFeatureSupported(java.lang.String feature)
Specified by:
isFeatureSupported in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

getURIDereferencer

public javax.xml.crypto.URIDereferencer getURIDereferencer()
Specified by:
getURIDereferencer in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory

unmarshalKeyInfo

public javax.xml.crypto.dsig.keyinfo.KeyInfo unmarshalKeyInfo(javax.xml.crypto.XMLStructure xmlStructure)
                                                       throws javax.xml.crypto.MarshalException
Specified by:
unmarshalKeyInfo in class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
Throws:
javax.xml.crypto.MarshalException

Copyright Crypto-Pro.
All rights reserved.